<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;

class PluginCounter extends Model
{
    use SoftDeletes;
    protected $table = 'plugin_counter';
    protected $fillable=[
        'account',
        'access_key',
        'count',
        'status'
    ];
    public function records():HasMany
    {
        return $this->hasMany(PluginCounterRecord::class);
    }
}
